package com.ks.util;

import java.io.InputStream;
import java.util.Properties;

/**
 * 加载ks.properties配置表
 *
 * @author huangzhiyuan
 */
public class Config {

    private static Properties p = new Properties();

    static {
        InputStream inputStream = Config.class.getClassLoader().getResourceAsStream("ks.properties");
        try {
            p.load(inputStream);
        } catch (Exception ex) {
            ex.printStackTrace();
        }
    }

    public static final String UPLOAD_PATH = p.getProperty("UPLOAD_PATH");

}
